package com.example.entity;

import java.util.Date;
import java.util.List;

public class User {
    private Integer user_id;
    private String username;
    private String password;
    private String email;
    private String phone;
    private String trust_score;
    private String points;
    private String icon;
    private int role;
    private List<Host> HostList;
    private Boolean verified;
    private String bio;
    private Boolean phoneVerified;
    private Boolean emailVerified;
    private String verificationCode;
    private Date verificationCodeExpiry;

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", trust_score='" + trust_score + '\'' +
                ", points='" + points + '\'' +
                ", icon='" + icon + '\'' +
                ", role=" + role +
                ", HostList=" + HostList +
                ", verified=" + verified +
                ", bio='" + bio + '\'' +
                ", phoneVerified=" + phoneVerified +
                ", emailVerified=" + emailVerified +
                ", verificationCode='" + verificationCode + '\'' +
                ", verificationCodeExpiry=" + verificationCodeExpiry +
                '}';
    }

    public Boolean getVerified() {
        return verified;
    }

    public void setVerified(Boolean verified) {
        this.verified = verified;
    }

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public Boolean getPhoneVerified() {
        return phoneVerified;
    }

    public void setPhoneVerified(Boolean phoneVerified) {
        this.phoneVerified = phoneVerified;
    }

    public Boolean getEmailVerified() {
        return emailVerified;
    }

    public void setEmailVerified(Boolean emailVerified) {
        this.emailVerified = emailVerified;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public Date getVerificationCodeExpiry() {
        return verificationCodeExpiry;
    }

    public void setVerificationCodeExpiry(Date verificationCodeExpiry) {
        this.verificationCodeExpiry = verificationCodeExpiry;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTrust_score() {
        return trust_score;
    }

    public void setTrust_score(String trust_score) {
        this.trust_score = trust_score;
    }

    public String getPoints() {
        return points;
    }

    public void setPoints(String points) {
        this.points = points;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public List<Host> getHostList() {
        return HostList;
    }

    public void setHostList(List<Host> hostList) {
        HostList = hostList;
    }
}
